<%@page import="BusinessLogic.Result.ResultType"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
 <%@ page import="BusinessLogic.Result" %>
 <jsp:useBean id="requestHandler" class="RequestHandlerPackage.RequestHandler" scope="application"/>
    <%
    Result res = requestHandler.handle(request.getParameterMap());
    if (res.getResultType().equals(ResultType.SUCCESS))
    {
    	%>
    	success
    	<%
    }
    else
    {
    	%>
    	<%=res.getFailureMessage() %>
    	<%
    }
    %>